STEP 7: Lastly, it's time to create and turn the right leg!

  • From drop a Rectangle inside the function and change its variable name to right_leg.
  • Change right_leg's arguments so they are (x+10, y-50, 50, 5, color).
  • From , drag out Set Rotation and assign it to right_leg.
  • Change the integer argument in .set_rotation() to -60.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)